<template>
  <van-nav-bar :fixed="true" :title="titleTxt" @click="showPopup">
    <template #left>
      <van-icon name="wap-nav" size="24" color="#333" />
    </template>
  </van-nav-bar>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: ['titleTxt'],
  methods: {
    showPopup() {
      this.$emit('showPopup', '')
    },
  },
}
</script>

<style lang="less" scoped>
</style>